package com.java.base.bridge;


/**
 * 反编译结果是有两个bridge方法一个是桥接的
 * xieyuxin@XYX-MacBookPro16 bridge % javap -p SonString.class
 * Compiled from "SonString.java"
 * public class com.java.base.bridge.SonString implements com.java.base.bridge.FatherT<java.lang.String> {
 *   public com.java.base.bridge.SonString();
 *   public void bridge(java.lang.String);
 *   public void bridge(java.lang.Object);
 * }
 */
public class SonString implements FatherT<String> {
    @Override
    public void bridge(String s) {
        System.out.println(s.getClass().getSimpleName());
    }
}
